﻿namespace AnyOffice.Model
{
    using System;

    public class FlowRunFeedbackData
    {
        protected object _attachmentId;
        protected object _content;
        protected DateTime _editTime = DateTime.Now;
        protected int _feedbackId = -1;
        protected int _flowPrcs;
        protected int _prcsId;
        protected int _runId;
        protected string _userId = string.Empty;

        public string AttachmentId
        {
            get
            {
                return (string) this._attachmentId;
            }
            set
            {
                this._attachmentId = value;
            }
        }

        public bool AttachmentIdIsNull
        {
            get
            {
                return (this._attachmentId == null);
            }
            set
            {
                if (value)
                {
                    this._attachmentId = null;
                }
            }
        }

        public string Content
        {
            get
            {
                return (string) this._content;
            }
            set
            {
                this._content = value;
            }
        }

        public bool ContentIsNull
        {
            get
            {
                return (this._content == null);
            }
            set
            {
                if (value)
                {
                    this._content = null;
                }
            }
        }

        public DateTime EditTime
        {
            get
            {
                return this._editTime;
            }
            set
            {
                this._editTime = value;
            }
        }

        public int FeedbackId
        {
            get
            {
                return this._feedbackId;
            }
            set
            {
                this._feedbackId = value;
            }
        }

        public int FlowPrcs
        {
            get
            {
                return this._flowPrcs;
            }
            set
            {
                this._flowPrcs = value;
            }
        }

        public int PrcsId
        {
            get
            {
                return this._prcsId;
            }
            set
            {
                this._prcsId = value;
            }
        }

        public int RunId
        {
            get
            {
                return this._runId;
            }
            set
            {
                this._runId = value;
            }
        }

        public string UserId
        {
            get
            {
                return this._userId;
            }
            set
            {
                this._userId = value;
            }
        }
    }
}

